package com.gperp.mapper.other;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.gperp.common.CustomerResCondition;
import com.gperp.common.CustomerResult;
import com.gperp.common.PortalCondition;
import com.gperp.pojo.AsCustoms;

public interface CustomerResMapper {

	//分页模糊查询客户信息
	List<AsCustoms> queryAll(@Param("condition")CustomerResCondition condition);

	//根据ID查询客户信息
	List<CustomerResult> querycusById(Long id);
	
	//修改客户状态
	int updateStatus(@Param("id")Integer id,@Param("customstatus")Integer customstatus);
	
	//添加客户
	int insertCustoms(AsCustoms a);
	
	//根据客户名查询客户
	AsCustoms queryByCname(String customename);
}
